FROM registry.cn-hangzhou.aliyuncs.com/pailiandev/java:8_cn

ENV TZ=Asia/Shanghai
ENV LANG=zh_CN.UTF-8
ENV LC_ALL=zh_CN.UTF-8
ENV JAVA_HOME=/usr/local/jdk1.8.0_211

COPY target/*.jar /
COPY ./startup.sh /
COPY ./class-winter-core-2.9.6.jar /lib/
COPY ./state-owned-base-1.0.1-SNAPSHOT.jar /lib/
COPY ./state-owned-flow-1.0.1-SNAPSHOT.jar /lib/

RUN mkdir -p /var/logs && chmod 755 /var/logs

ENTRYPOINT ["/bin/bash","/startup.sh"]
